package com.zyx.tr;

public class Thread01 implements Runnable{
    @Override
    public void run() {
        for (int i=1;i<10;i++){
            try {
                Thread.sleep(20);
            } catch (InterruptedException e) {
                e.printStackTrace();
            }
            System.out.println(Thread.currentThread().getName()+"------------"+i);
        }
    }
}
